# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'ui/BookDialog.ui'
#
# Created: Wed Sep 15 14:07:59 2010
#      by: PyQt4 UI code generator 4.7.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_BookDialog(object):
    def setupUi(self, BookDialog):
        BookDialog.setObjectName(_fromUtf8("BookDialog"))
        BookDialog.resize(364, 103)
        BookDialog.setModal(False)
        self.verticalLayout = QtGui.QVBoxLayout(BookDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label = QtGui.QLabel(BookDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        self.BookTitleEdit = QtGui.QLineEdit(BookDialog)
        self.BookTitleEdit.setText(_fromUtf8(""))
        self.BookTitleEdit.setReadOnly(False)
        self.BookTitleEdit.setObjectName(_fromUtf8("BookTitleEdit"))
        self.horizontalLayout.addWidget(self.BookTitleEdit)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.label_2 = QtGui.QLabel(BookDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout_2.addWidget(self.label_2)
        self.AuthorEdit = QtGui.QLineEdit(BookDialog)
        self.AuthorEdit.setText(_fromUtf8(""))
        self.AuthorEdit.setReadOnly(False)
        self.AuthorEdit.setObjectName(_fromUtf8("AuthorEdit"))
        self.horizontalLayout_2.addWidget(self.AuthorEdit)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        spacerItem = QtGui.QSpacerItem(20, 0, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.buttonBox = QtGui.QDialogButtonBox(BookDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)
        self.label_2.setBuddy(self.AuthorEdit)

        self.retranslateUi(BookDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), BookDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), BookDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(BookDialog)

    def retranslateUi(self, BookDialog):
        BookDialog.setWindowTitle(QtGui.QApplication.translate("BookDialog", "Book", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("BookDialog", "Title:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("BookDialog", "Author:", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    BookDialog = QtGui.QDialog()
    ui = Ui_BookDialog()
    ui.setupUi(BookDialog)
    BookDialog.show()
    sys.exit(app.exec_())

